package data;

/**
 * 我方坦克数据类
 */
public class HeroData extends TankData {
    // -------------------- 数据设计 --------------------
    private int lives = 3;      // 生命数
    private int score = 0;      // 得分
    // -------------------- 数据设计 --------------------

    public HeroData(int x, int y, int direction) {
        super(0, x, y, direction); // 0表示我方坦克
    }

    public int getLives() { return lives; }
    public void setLives(int lives) { this.lives = lives; }
    public int getScore() { return score; }
    public void setScore(int score) { this.score = score; }
}